package com.suyang.syt.service.interfaces;

import java.util.List;

import com.suyang.syt.model.dto.AjaxObj;
import com.suyang.syt.model.dto.SystemNavigationDTO;

public interface SystemNavigationService {

	/** 根据权限类型加载导航菜单 */
	public List<SystemNavigationDTO> list(String flag) throws Exception;

	/**
	 * 添加一个菜单项
	 * 
	 * @param systemNavigationDTO
	 * @return
	 */
	public AjaxObj add(SystemNavigationDTO systemNavigationDTO) throws Exception;

	/**
	 * 批量删除菜单项
	 * 
	 * @param ids
	 * @return
	 */
	public AjaxObj delete(String ids) throws Exception;

	/**
	 * 更新一个菜单项
	 * 
	 * @param systemNavigationDTO
	 * @return
	 */
	public AjaxObj update(SystemNavigationDTO systemNavigationDTO) throws Exception;

	/**
	 * 动态加载系统导航菜单
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public List<SystemNavigationDTO> listTreegrid(long id) throws Exception;

}
